<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>米行域名批量交易平台-我要投资</title>
		<include file="./Public/mob/public/public.html" />
		<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/mob/css/cred.css">
		<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/mob/css/register.css">
		<style>
			.category-term li {
				width: 25%;
				float: left;
			}
			#ulSelectType li {
    			position: relative;
    			height: 30px;
    			line-height: 30px;
    			text-align: center;
    			background: white;
			}
			.category-term li:after {
				content: "";
				display: block;
				border-top: 5px solid #e6e6e6;
				border-left: 5px solid transparent;
				border-right: 5px solid transparent;
				position: absolute;
				top: 13px;
				line-height: 30px;
				margin-left: 90%;
			}
			#more_ulSelectType:after{
				content: "";
				display: block;
				border-top: 5px solid #e6e6e6;
				border-left: 5px solid transparent;
				border-right: 5px solid transparent;
				position: absolute;
				top: 13px;
				line-height: 30px;
				margin-left: 70%;
			}
			.p_font{
				margin-left: 5px;
				width:80%;
				border: 0px solid red;
			}
			.p_font p{
				margin-top: 10px;
			}
		</style>
	</head>

	<body>
		<div class="sjsWeb_HeaderTop_main">
			<div class="sjsWeb_HeaderTop_welcome" style="float: left;">
				<img src="/dow/Public/img/logo.png" style="width:150px;height: 45px;">
				<!--您好，欢迎来到米行！-->
			</div>
			<div class="header-account" style="height:100%;height:45px;line-height:45px;float: right;margin-right: 10px;">

				<if condition="$_SESSION['uid']!=null">
					<a class="user-info btn" href="{:U('Survey/index')}" style="color:#FFA200;">用户：{$_SESSION['username']}&nbsp;&nbsp;ID：{$_SESSION['uid']} </a>
					&nbsp;&nbsp;
					<a class="user-info btn" href="{:U('Login/logout')}">注销</a>
					<div class="clr"></div>
					<else />
					<a class="btn" href="{:U('Login/index')}">登录</a>
					<a class="btn" href="{:U('Register/index')}">注册</a>
					<div class="clr"></div>
				</if>
			</div>
			<div class="clr"></div>
		</div>
		<!---->
		<div class="tab-group mobile-only">
			<a  class="active buy">我要投资</a>
			<a href="investorinfo.html" class="mai">我要借款</a>
			<div class="clr"></div>
		</div>
		<!---->
		
		<div class="layout-wrap register" style="height: 100%;background: white;">
			<!--<div class="tab-group mobile-only">
				<div class="clr"></div>
			</div>-->
			<div class="layout" style="background-color: #eee">
				<div class="w1190">
					<!--<div class="main-title">
						<a href="/">首页</a>&nbsp;&nbsp;<span class="simsun">&gt;</span>&nbsp;&nbsp;
						<a title="我要投资" href="/xiangmu/">我要投资</a>&nbsp;&nbsp;<span class="simsun">&gt;</span>&nbsp;&nbsp;借款列表
					</div>-->
					<!--分类条件 strat-->
					<div class="category bg" style="height:auto;border-bottom: 1px solid #efefef;">
						<!--<ul class="right category-guide">
							<h3 class="f18">新手引导</h3>
							<li>
								<a href="/help/4.html#1" target="_blank">投标后是否可以取消？</a>
							</li>
							<li>
								<a href="/help/7.html#2" target="_blank">在米行上投资需要交哪些费用？</a>
							</li>
							<li>
								<a href="/help/4.html#3" target="_blank">借款的利息收益是多少？</a>
							</li>
							<li>
								<a href="/help/4.html#4_2" target="_blank">投标金额有限制吗</a>
							</li>
						</ul>-->

						<ul class="category-term left category-pa" id="ulSelectType" style="width: 100%;">
							<li>
								<span>标的类型</span>
								<!--<a <if condition="$tim_type eq ''">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('tim_type','');">全部</a>
								<a <if condition="$tim_type eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('tim_type','2');">普通标</a>
								<a <if condition="$tim_type eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('tim_type','1');">短期标</a>
							-->
							</li>
							<li>
								<span>域名类型</span>
								<!--<select id="domtypeslecid" style="width:160px;" onchange="loadSearch('domtypeslec','');">
									<option value=''>--请选择域名类型--</option>
									<volist name="domTypes" id="vo">
										<if condition="$domtypeslec eq $vo['id']">
											<option value='{$vo.id}' selected>-{$vo.name}-</option>
											<else/>
											<option value='{$vo.id}'>-{$vo.name}-</option>
										</if>

									</volist>
								</select>-->
							</li>
							<li>
								<span>年化利率</span>
								<!--<a <if condition="$rate eq ''">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','');">全部 </a>
								<a <if condition="$rate eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','1');">9%及以下 </a>
								<a <if condition="$rate eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','2');">9%-10.2% </a>
								<a <if condition="$rate eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','3');">10.2%-11.4% </a>
								<a <if condition="$rate eq 4">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','4');">11.4%以上</a>
							-->
							</li>
							<li id="more_ulSelectType">
								<span>更多</span>
							</li>
							<!--<li>
								<span>借款期限：</span>
								<a <if condition="$term eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','1');">全部</a>
								<a <if condition="$term eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','2');">短期</a>
								<a <if condition="$term eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','3');">1个月</a>
								<a <if condition="$term eq 4">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','4');">2个月</a>
								<a <if condition="$term eq 5">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','5');">2个月及以上</a>
							
							</li>
							<li>
								<span>借款金额：</span>
								<a <if condition="$money eq ''">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','');">全部 </a>
								<a <if condition="$money eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','1');">5万以下</a>
								<a <if condition="$money eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','2');">5万-10万</a>
								<a <if condition="$money eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','3');">10万-15万</a>
								<a <if condition="$money eq 4">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','4');">15万以上</a>
							
							</li>-->
						</ul>
						<div class="clear"></div>
					</div>
					<!--<div class="f_box f_box_more" id="filter-more">
						<div class="f_box_inner more_type js_more_type">
							<ul class="arrow">
								<li class="clickM_con" data-id="filter-bdzw" data-click-filter="m-zplist-bdzwsx"> 只看本地工作 <span><span class="clickM_rec"></span></span>
								</li>
								<li>
									<a href="javascript:;" data-id="filter-fulibaozhang" data-click-filter="m-zplist-flsx"> 福利<span class="choice">不限</span></a>
								</li>
								<li>
									<a href="javascript:;" data-id="filter-hangyeyaoqiu" data-click-filter="m-zplist-hysx"> 行业<span class="choice">不限</span></a>
								</li>
								<li>
									<a href="javascript:;" data-id="filter-gongzuonianxian" data-click-filter="m-zplist-gzjysx"> 工作经验<span class="choice">不限</span></a>
								</li>
								<li>
									<a href="javascript:;" data-id="filter-xueliyaoqiu" data-click-filter="m-zplist-xlyqsx"> 学历要求<span class="choice">不限</span></a>
								</li>
							</ul>
						</div>
						<div class="btn_submit">
							<a href="javascript:;"> 筛 选 </a>
						</div>
						<div class="btn_back">
							<a href="javascript:;"> 返 回 </a>
						</div>
					</div>-->
					<!--分类条件 end-->

					<div class="detail-loan-list">
						<!--<h3>
			                <div class="left detail-loan-title">
			                	<span class="f24"><a href="" target="_blank" style="font-size: 24px;">借款列表</a></span>
			                 </div>
			                <div class="cash">
			                    <span class="bordernone">累计成交总金额<br>
			                           <a class="deloading"><strong class="f18 ">{$allInvemoney}</strong>元</a></span>
			                    <span>累计成交总笔数<br>
	                           	<a class="deloading"><strong class="f18 ">{$allInvecount}</strong>笔</a></span>
	                    		<span>为用户累计赚取<br>
	                        	<a class="deloading"><strong class="f18 ">{$allRate}</strong>万元</a></span>
                			</div>
            			</h3>-->
						<div class="loan-list-cont ind-investbox" id="xsb">
							<!--<h4 style="display: block;">
		                    <span class="w7">&nbsp;&nbsp;</span> <span class="w25">借款标题 </span>
		                    <span class="w10" id="Sort_Rate" onclick="SortLoan(this)"><a class="blue" title="按年利率排序">年利率 </a>
		                        <i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
		                        <i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
		                    </span>
		                    <span class="w13" id="Sort_Amount" onclick="SortLoan(this)"><a class="blue" title="按金额排序">金额 </a>
		                        <i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
		                        <i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
		                    </span>
		                    <span class="w11" id="Sort_Term" onclick="SortLoan(this)"><a class="blue" title="按期限排序">期限 </a>
		                        <i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
		                        <i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
		                    </span>
		                    <span class="w16">还款方式</span>
		                    <span class="w11" id="Sort_Sch" onclick="SortLoan(this)"><a class="blue" title="按进度排序">进度 </a>
		                        <i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
		                        <i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
		                    </span> 
		                    <span class="w7">&nbsp;&nbsp;</span> 
                			</h4>-->
							<ul id="LoanLists">
								<volist name="investlist" id="vo">
									<if condition="$i%2 eq 0">
										<li class="two">
									</if>
									<if condition="$i%2 neq 0">
										<li class="one">
									</if>
									<!--<div class="w7 mt20"><span class="icon-diactive ml11"></span></div>-->
									<div class="p_font" style="padding-top: 10px;padding-bottom: 10px;">
										<p>
										<dd style="float:left;width:14px;height:14px;line-height:14px;text-align: center;border-radius:10px;border:1px solid #FF6524;background:#FF6524;color: white;">标</dd>
										&nbsp;
										<a href="{:U('Credit/loandetail',array('id'=>$vo['id']))}">
											<span>抵押{$vo.number}个{$vo.name}</span></a>
										<!--<span class="gray">发标时间:{$vo.create_time}</span>-->
										</p>
										<p>
											<span>期限:</span>
											<if condition="$vo.tim_type eq 1">
											<span>{$vo.term}</span> <span>天</span>
											</if>
											<if condition="$vo.tim_type eq 2">
											<span >{$vo['term']/30}</span> <span>个月</span>
											</if>
										</p>
										<p>
											<span style="color:#FF6524;">金额&nbsp;:&nbsp;</span><span>{$vo.money}</span><span>元</span>&nbsp;&nbsp;&nbsp;
											<span style="color:#FF6524;">年利率&nbsp;:&nbsp;</span><span>{$vo.rate}%</span</div>
										</p>
											<!--<if condition="$vo.tim_type eq 1">
											<span>{$vo.term}</span> <span>天</span>
											</if>
											<if condition="$vo.tim_type eq 2">
											<span>{$vo['term']/30}</span> <span>个月</span>
											</if>-->
									</div>
									<div style="position:absolute;margin-top:20px;right:0;margin-right:2%;width:100px;float:right;border: 0px solid red;">
										<if condition="$vo.status eq 1">
											<a href="{:U('Credit/loandetail',array('id'=>$vo['id']))}"><span class="bnt-normal">立即投资</span></a>
										</if>
										<if condition="$vo.status eq 2">
											<a href="{:U('Credit/loandetail',array('id'=>$vo['id']))}"><span class="bnt-hui-normal">还款中</span></a>
										</if>
									</div>
									<div class="clear"></div>
									<!--<div class="w10 mt20"><span class="f18 red">{$vo.rate}%</span></div>
									<div class="w13 mt20">
										<span class="f18">{$vo.money}</span><span class="gary">元</span>
									</div>
									<div class="w11 mt20">
										<if condition="$vo.tim_type eq 1">
											<span class="f18">{$vo.term}</span> <span class="gary">天</span>
										</if>
										<if condition="$vo.tim_type eq 2">
											<span class="f18">{$vo['term']/30}</span> <span class="gary">个月</span>
										</if>
									</div>
									<div class="w16 mt20">按月付息，到期还本</div>
									<div class="w11 col_5 mt28">
										<font>{$vo['tovalue']/$vo['money']*100|round=###,2}%</font>
									</div>-->
									<!--<div class="w7 mtb15">
										<if condition="$vo.status eq 1">
											<a href="{:U('Credit/loandetail',array('id'=>$vo['id']))}"><span class="bnt-normal">立即投资</span></a>
										</if>
										<if condition="$vo.status eq 2">
											<a href="{:U('Credit/loandetail',array('id'=>$vo['id']))}"><span class="bnt-hui-normal">还款中</span></a>
										</if>
									</div>-->
									</li>
								</volist>
							</ul>

						</div>
						<!--pager strat-->
						<!--<div class="pager w-pager">
							<ul></ul>
						</div>-->
						<!--pager end-->
					</div>
				</div>
			</div>
		</div>
		<include file="./Public/public/footer.html" />
		<form action="{:U('credit/loaderInfo')}" method='post' id="searchformid">
			<input type='hidden' name="tim_type" id="idtim_type" value='{$tim_type}' />
			<input type='hidden' name="rate" id="idrate" value='{$rate}' />
			<input type='hidden' name="term" id="idterm" value='{$term}' />
			<input type='hidden' name="money" id="idmoney" value='{$money}' />
			<input type='hidden' name="domtypeslec" id="iddomtypeslec" value='{$domtypeslec}' />
		</form>
		<include file="./Public/mob/public/bottom.html" />
	</body>
	<script type="text/javascript" src="{$app_path}{$static_path}/js/cycle.js"></script>
	<script type="text/javascript" src="{$app_path}{$static_path}/js/raphael.js"></script>

	<script type="text/javascript">
		function loadSearch(id, val) {
			if(id == 'domtypeslec') {
				$("#id" + id).val($("#domtypeslecid").val());
			} else {
				$("#id" + id).val(val);
			}
			$("#searchformid").submit();
		}

		function daystr(timer) {
			if(timer == 0) {
				return '';
			}
			var str = "";
			var yuday = 0;
			var h = 0;
			var m = 0;
			var yuh = 0;
			var day = parseInt(timer / (24 * 3600000));
			if(day == 0) {
				h = parseInt(timer / (3600000));
				yuh = timer % (3600000);
			} else {
				yuday = timer % (24 * 3600000);
				h = parseInt(yuday / (3600000));
				yuh = yuday % (3600000);
			}
			str = day + '天' + h + '小时';
			if(h == 0) {
				m = parseInt(timer / (60000));
				yum = timer % (60000);
			} else {
				m = parseInt(yuh / (60000));
				yum = yuh % (60000);
			}
			str += m + '分';
			if(m == 0) {
				s = parseInt(timer / 1000);
			} else {
				s = parseInt(yum / (1000));
			}
			str += s + '秒';
			return str;
		}
	</script>

</html>